#include <avr/io.h>
#include <stdbool.h>



extern void uart_init(void);

extern bool wait_uart_transmit(void);
extern bool send_byte(unsigned char data);
extern bool send_page(void);

extern bool wait_uart_recieve(void);
extern bool wait_byte(void);
extern bool wait_page(unsigned char page_num);

extern void clear_tx_buf(void);



extern unsigned char uart_rx_byte;

extern unsigned char uart_tx_buf[16];

extern unsigned char rec_buf[64];

